package com.geekca.j2.extends_test;

public class Test {
    public static void main(String[] args) {
        Student s1 = new Student();
        Teacher t1 = new Teacher();

        s1.setName("马小虎");
        s1.setAge(12);
        s1.setClassName("四年2班");
        s1.reactCourse();

        t1.setName("李白");
        t1.setAge(28);
        t1.setDept("文学系");
        t1.distubeQuestion();
        t1.showTimetable();
    }
}
